<template>
  <vue3-tinymce v-model="state.content" :setting="state.setting" />
</template>

<script setup>
import { reactive, ref } from 'vue';
import Vue3Tinymce from '@jsdawn/vue3-tinymce';

const state = reactive({
  content: '',
  // editor 配置项
  setting: {
    height: 600, // editor 高度
  },
});

defineExpose({
  state
})

</script>
